package com.heima.comment.feign;

import com.heima.model.media.pojos.WmUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("leadnews-wemedia")
public interface WemediaFeign {
    @GetMapping("/api/v1/user/findOne/{id}")
    WmUser findWmUserById(@PathVariable Long id);
}
